package mongodb

import helpers.BaseException

//import helpers.Configuration
//
//case class PandoraMongodb(configuration: Configuration) extends MongodbContext(configuration)

trait PandoraMongodb {

  implicit def ec: scala.concurrent.ExecutionContext

  val _Mongodb: MongodbContext
}

object PandoraMongodb {

  class NotFound(identify: String) extends BaseException(s"Oops! The identifiers[$identify] not found")

  class InvalidRecord(identify: String) extends BaseException(s"Oops! The identifiers[$identify] is invalid record")

}
